const colors = require('colors-console')

function myConsole(color, content) {
	content = typeof content == 'object' ? JSON.stringify(content) : content
	console.log(colors(color, content))
}

function logRed(content) {
	return myConsole('red', content)
}

function logGreen(content) {
	return myConsole('green', content)
}

function logBlue(content) {
	return myConsole('blue', content)
}

function logCyan(content) {
	return myConsole('cyan', content)
}



module.exports = {
	logRed,
    logGreen,
    logBlue,
    logCyan,
    myConsole
}
